﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UnauditedData.aspx.cs"
    Inherits="XMK.Tadong.Web.WebFileExplorer.UnauditedData.UnauditedData" %>
    <%@ Import Namespace="HU8.Web.FileExplorer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <!-- JQuery -->
    <script type="text/javascript" src="../Scripts/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="../Scripts/jquery-ui-1.8.16.custom.min.js"></script>
     <!-- Wijmo dialog -->
    <link type="text/css" rel="Stylesheet" href="../Scripts/wijmo-dialog/ui-themes/aristo/jquery-wijmo.css" />
    <link type="text/css" rel="Stylesheet" href="../Scripts/wijmo-dialog/ui-themes/wijmo/jquery.wijmo.wijdialog.css" />
    <script type="text/javascript" src="../Scripts/wijmo-dialog/jquery.wijmo-open.1.4.1.min.js"></script>

    <!-- HU8 Libs -->
    <script type="text/javascript" src="../Scripts/hu8.libs.js"></script>
    <!-- HU8 Box -->
    <script type="text/javascript" src="../Scripts/hu8-box/languages/zh.js"></script>
    <script type="text/javascript" src="../Scripts/hu8-box/hu8.box.js"></script>

    <link href="../Styles/mycss.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/changerows.js" type="text/javascript"></script>
  <script type="text/javascript">
      function test(File_ID) {
          box.open_window("", "../DataViewShow/DataViewShow.aspx?File_ID=" + File_ID + "&FileSpace_Type=Team", 1024, 768, true);
      }
      function BackFile(File_ID) {
          box.open_window("", "BackFile.aspx?File_ID=" + File_ID + "&FileSpace_Type=Team", 800, 600, true);
      }

      function MoveFile(File_ID) {
          box.open_window("", "MoveFile.aspx?File_ID=" + File_ID + "", 800, 600, true);
      }

     
  </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="gvData" EmptyDataText="没有数据" Height="100%" CssClass="gridview"
            RowStyle-HorizontalAlign="center" AutoGenerateColumns="False" 
            runat="server" >
            <Columns>
                <asp:BoundField DataField="File_ID" HeaderText="File_ID" Visible="False" />
                <asp:BoundField DataField="FILE_NAME" HeaderText="文档名称">
                    <HeaderStyle Width="25%" />
                </asp:BoundField>
                <asp:BoundField DataField="USER_ID" HeaderText="提交者">
                    <HeaderStyle Width="25%" />
                </asp:BoundField>
                <asp:BoundField DataField="CREATE_TIME" HeaderText="提交时间" DataFormatString="{0:yyyy-MM-dd}">
                    <HeaderStyle Width="25%" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <input type="button" value="通过" class="input1" onclick="MoveFile(<%# Eval("File_ID") %>)" />
                        <input type="button" value="查看"  class="input1" onclick="test(<%# Eval("File_ID") %>)"/>
                        <input type="button" value="退回"  class="input1" onclick="BackFile(<%# Eval("File_ID") %>)"/>
                    </ItemTemplate>
                    <HeaderStyle Width="25%" />
                </asp:TemplateField>
            </Columns>
        </asp:GridView> 
        <asp:Label ID="lblErr" Font-Size="12px" ForeColor="Red" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
<script language="javascript">
    //senfe("表格名称","奇数行背景","偶数行背景","鼠标经过背景","点击后背景");
    senfe("gvData", "#ECF9FC", "#FFFFFF", "#E3EEFB");
</script>
